<template>
  <div>
    <!-- <NestedPropsChildView :myObject="myObject" /> -->
    <NestedPropsChildView v-bind="myObject" />
    <button @click="onClick">测试</button>
  </div>
</template>

<script setup lang="ts">
import NestedPropsChildView from './NestedPropsChildView.vue'
const myObject = {
  nested: {
    value: 'Hello'
  }
}

const onClick = () => {
  myObject.nested.value = 'Updated'
}
</script>

<style scoped lang="scss"></style>
